﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="MaintainDepartmentInformation.aspx.cs" Inherits="PresentationLayer.MaintainDepartmentInformation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     
    <style type="text/css">
        .auto-style1
        {
            width: 192px;
        }
    </style>
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <h2>Department Maintenance Form</h2>
        <br />
            <asp:Label ID="lblChanges" runat="server" Font-Size="10pt" Text="Changes have been saved" Visible="False" CssClass="label-info"></asp:Label>

        <table class="table-condensed">
            <tr>
                <td class="auto-style1">
                    <asp:Label  ID="Label2" runat="server" Text="Department Code"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblCode" runat="server" Text="Code"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label3" runat="server" Text="Department Name"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblName" runat="server" Text="Name"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label" runat="server" Text="Department Head"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblHead" runat="server" Text="Head"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label4" runat="server" Text="Representative Name"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlRepName" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlRepName_SelectedIndexChanged" CssClass="form-control">
        </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label5" runat="server" Text="Collection Point"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlCollectionPoint" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCollectionPoint_SelectedIndexChanged" CssClass="form-control">
        </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Label ID="Label6" runat="server" Text="Collection Time"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblTime" runat="server" Text="Time"></asp:Label>
                </td>
            </tr>

        </table>
        <br />
       <asp:Button ID="btnSave" runat="server" Text="Save Changes" OnClick="btnSave_Click" CssClass="btn-primary" Width="103px" />
        &nbsp;
        <asp:Button ID="btnCancel" runat="server" CssClass="btn-success" Text="Cancel" Width="95px" OnClick="btnCancel_Click" />
        
        <asp:HiddenField ID="hiddenRepId" runat="server" />
        
    </div>
    <br />
</asp:Content>
